﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DreamOnGameEngine.Main
{
    public class PrintProcess:CProcess
    {
        protected string m_sString;
        public PrintProcess(string str)
            : base(PROCESS_TYPE.PROC_SCREEN)
        {
            m_sString = str;
        }
        public override void VOnUpdate(int deltaMilliseconds)
        {
            base.VOnUpdate(deltaMilliseconds);
            Console.WriteLine(m_sString);
            VKill();
        }
    }
}
